package com.by.wx.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.by.wx.entity.PhoneCode;
import com.by.wx.entity.PhoneMember;
import com.by.wx.entity.PhoneMemberResult;

public interface PhoneMemberDao {

	int updThePhoneMemberByPhone(@Param("openid") String openid, @Param("nickname") String nickname,
			@Param("phone") String phone);

	int doSaveWxPhoMember(PhoneMember pm);

	List<PhoneCode> doFindLasttimeByPhone(@Param("phone") String phone, @Param("lim") int lim);

	int doDelUpdateOpenid(String openid);

	List<PhoneMemberResult> doCheckVerifyRoomJumpOpenid(String openid);

}
